package com.toune.movie.mvp.presenter;

import com.toune.movie.base.BasePresenterImpl;
import com.toune.movie.mvp.activity.SearchActivity;
import com.toune.movie.mvp.contract.SearchContract;
import com.toune.movie.mvp.model.SearchModel;
import com.toune.movie.vo.SearchVo;
import com.toune.movie.vo.VarietyVo;

import java.util.List;

/**
 * Created by Administrator on 2018/5/16.
 */

public class SearchPresenter extends BasePresenterImpl<SearchActivity> implements SearchContract.Presenter {
    SearchModel searchModel = new SearchModel(this);
    @Override
    public void setVos(List<SearchVo> voList) {
        mView.setVos(voList);
    }

    @Override
    public void getVos(String html) {
        searchModel.getVos(html);
    }
}
